function [] = SaveDataset(location, dataset, name, info)

if strcmp(location, 'home')
    home_path = '/home/georgi/Desktop/Project/';
elseif strcmp(location, 'dice')    
    home_path = '/afs/inf.ed.ac.uk/user/s07/s0785186/Desktop/Project/';
end

savefile = strcat(home_path,'datasets/dataset_',name,'.mat');
save(savefile, 'dataset','info'); 
disp(sprintf('Saving dataset: %s', savefile)); 

end